<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: AtTextFile</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="../../d4/dc0/struct_at_text_file-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">AtTextFile<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p>该类提供了文本文件读写的相关方法  
 <a href="../../d0/dcc/struct_at_text_file.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d9/dac/_at_text_file_8h_source.html">AtTextFile.h</a>&gt;</code></p>

<p>继承自 RefCountedBase .</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab438bb9eb96e7a434d24153fb965e9a6"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#ab438bb9eb96e7a434d24153fb965e9a6">Close</a> ()</td></tr>
<tr class="memdesc:ab438bb9eb96e7a434d24153fb965e9a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭文本文件  <a href="../../d0/dcc/struct_at_text_file.html#ab438bb9eb96e7a434d24153fb965e9a6">更多...</a><br /></td></tr>
<tr class="separator:ab438bb9eb96e7a434d24153fb965e9a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a889e99773863f5a89c5cd2d1d44a201c"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT TextFileReadStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#a889e99773863f5a89c5cd2d1d44a201c">GetLine</a> (WStringR textLine)</td></tr>
<tr class="memdesc:a889e99773863f5a89c5cd2d1d44a201c"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取一行数据  <a href="../../d0/dcc/struct_at_text_file.html#a889e99773863f5a89c5cd2d1d44a201c">更多...</a><br /></td></tr>
<tr class="separator:a889e99773863f5a89c5cd2d1d44a201c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6054f344d08b137f825fb4e6d56ab9f"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT TextFileWriteStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#ad6054f344d08b137f825fb4e6d56ab9f">PutLine</a> (WCharCP textLine, bool addCarriageReturn)</td></tr>
<tr class="memdesc:ad6054f344d08b137f825fb4e6d56ab9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">向文件写入一行  <a href="../../d0/dcc/struct_at_text_file.html#ad6054f344d08b137f825fb4e6d56ab9f">更多...</a><br /></td></tr>
<tr class="separator:ad6054f344d08b137f825fb4e6d56ab9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a244c51be48aa82a7e363c1101ecf7dc3"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT WChar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#a244c51be48aa82a7e363c1101ecf7dc3">GetChar</a> ()</td></tr>
<tr class="memdesc:a244c51be48aa82a7e363c1101ecf7dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">从文件中读取下一个字符  <a href="../../d0/dcc/struct_at_text_file.html#a244c51be48aa82a7e363c1101ecf7dc3">更多...</a><br /></td></tr>
<tr class="separator:a244c51be48aa82a7e363c1101ecf7dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0eb500a4902d9cd2457223cb5a36bbb"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT TextFileWriteStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#aa0eb500a4902d9cd2457223cb5a36bbb">PrintfTo</a> (bool toStdOutAlso, WCharCP format,...)</td></tr>
<tr class="memdesc:aa0eb500a4902d9cd2457223cb5a36bbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">向文件写入格式化输出  <a href="../../d0/dcc/struct_at_text_file.html#aa0eb500a4902d9cd2457223cb5a36bbb">更多...</a><br /></td></tr>
<tr class="separator:aa0eb500a4902d9cd2457223cb5a36bbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13199ac4da05293ad6266d7b20484b28"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT AtProjectStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#a13199ac4da05293ad6266d7b20484b28">Rewind</a> ()</td></tr>
<tr class="memdesc:a13199ac4da05293ad6266d7b20484b28"><td class="mdescLeft">&#160;</td><td class="mdescRight">将读写位置重置到文件头部  <a href="../../d0/dcc/struct_at_text_file.html#a13199ac4da05293ad6266d7b20484b28">更多...</a><br /></td></tr>
<tr class="separator:a13199ac4da05293ad6266d7b20484b28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f295858cba0815b3e8e772c651ec205"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT AtProjectStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#a5f295858cba0815b3e8e772c651ec205">SetPointer</a> (UInt64 position, AtProjectSeekOrigin origin)</td></tr>
<tr class="memdesc:a5f295858cba0815b3e8e772c651ec205"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置读写位置  <a href="../../d0/dcc/struct_at_text_file.html#a5f295858cba0815b3e8e772c651ec205">更多...</a><br /></td></tr>
<tr class="separator:a5f295858cba0815b3e8e772c651ec205"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a174324e67fb1b4f4a059d31192d3fa"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT AtProjectStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#a4a174324e67fb1b4f4a059d31192d3fa">GetPointer</a> (UInt64 &amp;position)</td></tr>
<tr class="memdesc:a4a174324e67fb1b4f4a059d31192d3fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取读写位置  <a href="../../d0/dcc/struct_at_text_file.html#a4a174324e67fb1b4f4a059d31192d3fa">更多...</a><br /></td></tr>
<tr class="separator:a4a174324e67fb1b4f4a059d31192d3fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:adfabf9225da5ed11dbae0c14222fd419"><td class="memItemLeft" align="right" valign="top">static ATEC_EXPORT AtTextFilePtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcc/struct_at_text_file.html#adfabf9225da5ed11dbae0c14222fd419">Open</a> (AtProjectStatus &amp;status, WCharCP fullFileSpec, TextFileOpenType openType, TextFileOptions options, TextFileEncoding encoding=TextFileEncoding::CurrentLocale)</td></tr>
<tr class="memdesc:adfabf9225da5ed11dbae0c14222fd419"><td class="mdescLeft">&#160;</td><td class="mdescRight">打开文本文件用于读写  <a href="../../d0/dcc/struct_at_text_file.html#adfabf9225da5ed11dbae0c14222fd419">更多...</a><br /></td></tr>
<tr class="separator:adfabf9225da5ed11dbae0c14222fd419"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:adc1a2c29d09c060aecafdf1834df594d"><td class="memItemLeft" align="right" valign="top"><a id="adc1a2c29d09c060aecafdf1834df594d" name="adc1a2c29d09c060aecafdf1834df594d"></a>
ATEC_EXPORT AtProjectStatus&#160;</td><td class="memItemRight" valign="bottom"><b>OpenFile</b> (WCharCP fullFileSpec, TextFileOpenType openType, TextFileOptions options, TextFileEncoding encoding)</td></tr>
<tr class="separator:adc1a2c29d09c060aecafdf1834df594d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >该类提供了文本文件读写的相关方法 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ab438bb9eb96e7a434d24153fb965e9a6" name="ab438bb9eb96e7a434d24153fb965e9a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab438bb9eb96e7a434d24153fb965e9a6">&#9670;&nbsp;</a></span>Close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT void AtTextFile::Close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>关闭文本文件 </p>
<dl class="section note"><dt>注解</dt><dd>一般情况下无需调用</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a244c51be48aa82a7e363c1101ecf7dc3" name="a244c51be48aa82a7e363c1101ecf7dc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a244c51be48aa82a7e363c1101ecf7dc3">&#9670;&nbsp;</a></span>GetChar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT WChar AtTextFile::GetChar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从文件中读取下一个字符 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT WChar 下一个字符或WEOF</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a889e99773863f5a89c5cd2d1d44a201c" name="a889e99773863f5a89c5cd2d1d44a201c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a889e99773863f5a89c5cd2d1d44a201c">&#9670;&nbsp;</a></span>GetLine()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT TextFileReadStatus AtTextFile::GetLine </td>
          <td>(</td>
          <td class="paramtype">WStringR&#160;</td>
          <td class="paramname"><em>textLine</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>读取一行数据 </p>
<dl class="section note"><dt>注解</dt><dd>数据将被转换为UTF-16的Unicode编码</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WStringR</td><td>textLine </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT TextFileReadStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a4a174324e67fb1b4f4a059d31192d3fa" name="a4a174324e67fb1b4f4a059d31192d3fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a174324e67fb1b4f4a059d31192d3fa">&#9670;&nbsp;</a></span>GetPointer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT AtProjectStatus AtTextFile::GetPointer </td>
          <td>(</td>
          <td class="paramtype">UInt64 &amp;&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取读写位置 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt64</td><td>&amp; position </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT AtProjectStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="adfabf9225da5ed11dbae0c14222fd419" name="adfabf9225da5ed11dbae0c14222fd419"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfabf9225da5ed11dbae0c14222fd419">&#9670;&nbsp;</a></span>Open()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATEC_EXPORT AtTextFilePtr AtTextFile::Open </td>
          <td>(</td>
          <td class="paramtype">AtProjectStatus &amp;&#160;</td>
          <td class="paramname"><em>status</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>fullFileSpec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TextFileOpenType&#160;</td>
          <td class="paramname"><em>openType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TextFileOptions&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TextFileEncoding&#160;</td>
          <td class="paramname"><em>encoding</em> = <code>TextFileEncoding::CurrentLocale</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>打开文本文件用于读写 </p>
<dl class="section note"><dt>注解</dt><dd>当用于读或添加时，文件的编码将会从文件的起始处获取（如果在的话），文件的内容将被读取并从该编码转为Unicode编码 </dd>
<dd>
当用于写时，编码参数指定了输出将被如何写入；如果存在同名文件，将被新文件所替换</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">AtProjectStatus</td><td>&amp; status 打开成功时返回Success </td></tr>
    <tr><td class="paramname">WCharCP</td><td>fullFileSpec 待打开的文件 </td></tr>
    <tr><td class="paramname">TextFileOpenType</td><td>openType 打开文件用于读、写或添加 </td></tr>
    <tr><td class="paramname">TextFileOptions</td><td>options 控制换行符在读取时如何处理的选项 </td></tr>
    <tr><td class="paramname">TextFileEncoding</td><td>encoding 文件编码，ASCII编码使用TextFileEncoding::CurrentLocale；仅在读取时有效 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT AtTextFilePtr 文件指针</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="aa0eb500a4902d9cd2457223cb5a36bbb" name="aa0eb500a4902d9cd2457223cb5a36bbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0eb500a4902d9cd2457223cb5a36bbb">&#9670;&nbsp;</a></span>PrintfTo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT TextFileWriteStatus AtTextFile::PrintfTo </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>toStdOutAlso</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向文件写入格式化输出 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>toStdOutAlso 是否同时写入到标准输出 </td></tr>
    <tr><td class="paramname">WCharCP</td><td>format </td></tr>
    <tr><td class="paramname">...</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT TextFileWriteStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="ad6054f344d08b137f825fb4e6d56ab9f" name="ad6054f344d08b137f825fb4e6d56ab9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6054f344d08b137f825fb4e6d56ab9f">&#9670;&nbsp;</a></span>PutLine()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT TextFileWriteStatus AtTextFile::PutLine </td>
          <td>(</td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>textLine</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>addCarriageReturn</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向文件写入一行 </p>
<dl class="section note"><dt>注解</dt><dd>数据将会转换为打开文件时指定的编码格式</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WCharCP</td><td>textLine </td></tr>
    <tr><td class="paramname">bool</td><td>addCarriageReturn 是否添加一个换行符 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT TextFileWriteStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a13199ac4da05293ad6266d7b20484b28" name="a13199ac4da05293ad6266d7b20484b28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13199ac4da05293ad6266d7b20484b28">&#9670;&nbsp;</a></span>Rewind()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT AtProjectStatus AtTextFile::Rewind </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将读写位置重置到文件头部 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT AtProjectStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a5f295858cba0815b3e8e772c651ec205" name="a5f295858cba0815b3e8e772c651ec205"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f295858cba0815b3e8e772c651ec205">&#9670;&nbsp;</a></span>SetPointer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT AtProjectStatus AtTextFile::SetPointer </td>
          <td>(</td>
          <td class="paramtype">UInt64&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AtProjectSeekOrigin&#160;</td>
          <td class="paramname"><em>origin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置读写位置 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt64</td><td>position </td></tr>
    <tr><td class="paramname">AtProjectSeekOrigin</td><td>origin </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT AtProjectStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATEC/<a class="el" href="../../d9/dac/_at_text_file_8h_source.html">AtTextFile.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
